public class University {
    void enterRule(double math,double english,double chinese) {
      double total = math+english+chinese; 
      if(total >= 180)
      System.out.println(total+"分数达到大学录取线：");
      else
      System.out.println(total+"分数未达到大学录取线：");
    }
}


